﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ServiceModel;

namespace WCFServiceWebRole1
{
    [ServiceContract]
    public interface ITaikhoan
    {
        [OperationContract]
        IEnumerable<Taikhoan> GetByAllTaikhoan();

        [OperationContract]
        Boolean InsertTaikhoan(Taikhoan ifodata);

        [OperationContract]
        Boolean UpdateTaikhoan(Taikhoan ifodata);

        [OperationContract]
        Boolean DeleteTaikhoan (string id);
    }
}